Skip to content

Conversation

Pearl1594
Copy link
Member

Issue #, if available:

Description of changes:

Testing performed:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the CloudStack CSI driver deployment configuration to fix image references and modify pod anti-affinity rules for better scheduling flexibility.

  • Updates container image references from local names to fully qualified GitHub Container Registry URLs
  • Changes pod anti-affinity from hard requirement to soft preference to allow more flexible scheduling

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
deploy/k8s/node-daemonset.yaml Updates container image to use fully qualified registry URL
deploy/k8s/controller-deployment.yaml Updates container image and changes pod anti-affinity from required to preferred

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@@ -59,7 +61,7 @@ spec:

containers:
- name: cloudstack-csi-controller
image: cloudstack-csi-driver
image: ghcr.io/shapeblue/cloudstack-csi-driver:master
Copy link
Preview

Copilot AI Aug 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using the 'master' tag for container images is not recommended for production deployments as it can lead to unpredictable behavior when the master branch is updated. Consider using a specific version tag or commit SHA for reproducible deployments.

Suggested change
image: ghcr.io/shapeblue/cloudstack-csi-driver:master
image: ghcr.io/shapeblue/cloudstack-csi-driver:v1.2.3

Copilot uses AI. Check for mistakes.

@@ -36,7 +36,7 @@ spec:

containers:
- name: cloudstack-csi-node
image: cloudstack-csi-driver
image: ghcr.io/shapeblue/cloudstack-csi-driver:master
Copy link
Preview

Copilot AI Aug 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using the 'master' tag for container images is not recommended for production deployments as it can lead to unpredictable behavior when the master branch is updated. Consider using a specific version tag or commit SHA for reproducible deployments.

Suggested change
image: ghcr.io/shapeblue/cloudstack-csi-driver:master
image: ghcr.io/shapeblue/cloudstack-csi-driver:v1.2.3

Copilot uses AI. Check for mistakes.

Copy link
Member

@vishesh92 vishesh92 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clgtm

@Pearl1594 Pearl1594 changed the base branch from master to main August 19, 2025 13:14
@Pearl1594 Pearl1594 changed the base branch from main to enhancements-csi August 19, 2025 15:27
@Pearl1594 Pearl1594 merged commit 9a2a453 into enhancements-csi Aug 19, 2025
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants